package com.spvs.job.mapper;

import com.spvs.job.domain.EquipPatrolRecordDetail;

import java.util.List;

/**
 * 巡检计划详情Mapper接口
 *
 * @author supervision
 * @date 2024-06-10
 */
public interface EquipPatrolRecordDetailMapper
{
    /**
     * 查询巡检计划详情
     *
     * @param id 巡检计划详情主键
     * @return 巡检计划详情
     */
    public EquipPatrolRecordDetail selectEquipPatrolRecordDetailById(Long id);

    /**
     * 查询巡检计划详情列表
     *
     * @param equipPatrolRecordDetail 巡检计划详情
     * @return 巡检计划详情集合
     */
    public List<EquipPatrolRecordDetail> selectEquipPatrolRecordDetailList(EquipPatrolRecordDetail equipPatrolRecordDetail);

    /**
     * 新增巡检计划详情
     *
     * @param equipPatrolRecordDetail 巡检计划详情
     * @return 结果
     */
    public int insertEquipPatrolRecordDetail(EquipPatrolRecordDetail equipPatrolRecordDetail);

    /**
     * 修改巡检计划详情
     *
     * @param equipPatrolRecordDetail 巡检计划详情
     * @return 结果
     */
    public int updateEquipPatrolRecordDetail(EquipPatrolRecordDetail equipPatrolRecordDetail);

    /**
     * 删除巡检计划详情
     *
     * @param id 巡检计划详情主键
     * @return 结果
     */
    public int deleteEquipPatrolRecordDetailById(Long id);

    /**
     * 批量删除巡检计划详情
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipPatrolRecordDetailByIds(Long[] ids);

    List<EquipPatrolRecordDetail> selectEquipPatrolRecordDetailByPlanId(Long planRecordId);
}
